spLib
Loading...
Searching...
No Matches
<sp/matrix.h>: Matrix

Data Structures

class  spSMatrix
 Matrix type that contains the elements of short type. More...
 
class  spLMatrix
 Matrix type that contains the elements of long type. More...
 
class  spFMatrix
 Matrix type that contains the elements of float type. More...
 
class  spDMatrix
 Matrix type that contains the elements of double type. More...
 

Detailed Description

#include <sp/matrix.h>

Introduction

The matrix type is a type which is used as an argument or a return value of matrix-related functions of this library. Types of spSMatrix for short type, spLMatrix for long type, spFMatrix for float type and spDMatrix for double type are provided.

The memory of spSMatrix , spLMatrix , spFMatrix or spDMatrix can be allocated by the functions which have a prefix xsm, xlm, xfm or xdm respectively. If you don't use the matrix anymore, you have to deallocate the memory by calling xsmfree() , xlmfree() , xfmfree() or xdmfree() .