SDT-base         Contents     Functions         Previous Next     PDF Index

vhandle.matrix

Purpose

Class constructor for matrix handle objects.

vhandle.matrix

The SDT supports handle objects, which act as pointers to variables various matrix forms that are optimized for storage. vhandle.matrix are a child class of the MATLAB handle and thus behave accordingly. In particular there is a single instance (b=a does not generate a copy of a).

mtimes

Implements overloading the base Matlab matrix multiplication operator.

gemm

Implements matrix matrix/vector multiplication and add c=A.gemm(b,c,coef) performs c:=coef(1)A*b+coef(2)*c. The interest is mostly due to the optimized implementation in the mkl_utils mex file where improved BLAS operations are possible. A.gemm(b,c,coef) performs in place modification of the c matrix.


©1991-2024 by SDTools
Previous Up Next