Matrix
Object Hierarchy:
Description:
[ Compact ]
[ CCode ( cname = "gsl_matrix" ) ]
public class Matrix
Content:
Static methods:
- public static int fprintf (FileStream stream, Matrix m, string format)
- public static int get_col (Vector v, Matrix m, size_t j)
- public static int get_row (Vector v, Matrix m, size_t i)
Creation methods:
- public Matrix (size_t n1, size_t n2)
- public Matrix.from_block (Block b, size_t offset, size_t n1, size_t n2, size_t d2)
- public Matrix.from_matrix (Matrix m, size_t k1, size_t k2, size_t n1, size_t n2)
- public Matrix.with_zeros (size_t n1, size_t n2)
Methods:
- public double @get (size_t i, size_t j)
- public void @set (size_t i, size_t j, double x)
- public int add (Matrix b)
- public int add_constant (double x)
- public int add_diagonal (double x)
- public Vector alloc_col_from_matrix (size_t j)
- public Vector alloc_row_from_matrix (size_t i)
- public VectorView column (size_t j)
- public VectorView diagonal ()
- public int div_elements (Matrix b)
- public int fread (FileStream stream)
- public int fscanf (FileStream stream)
- public int fwrite (FileStream stream)
- public bool isneg ()
- public bool isnonneg ()
- public bool isnull ()
- public bool ispos ()
- public double max ()
- public void max_index (out size_t imax, out size_t jmax)
- public int memcpy (Matrix src)
- public double min ()
- public void min_index (out size_t imin, out size_t jmin)
- public void minmax (out double min_out, out double max_out)
- public void minmax_index (out size_t imin, out size_t jmin, out size_t imax, out size_t jmax)
- public int mul_elements (Matrix b)
- public double* ptr (size_t i, size_t j)
- public VectorView row (size_t i)
- public int scale (double x)
- public void set_all (double x)
- public int set_col (size_t j, Vector v)
- public void set_identity ()
- public int set_row (size_t i, Vector v)
- public void set_zero ()
- public int sub (Matrix b)
- public VectorView subcolumn (size_t i, size_t offset, size_t n)
- public VectorView subdiagonal (size_t k)
- public MatrixView submatrix (size_t k, size_t k2, size_t n1, size_t n2)
- public VectorView subrow (size_t i, size_t offset, size_t n)
- public VectorView superdiagonal (size_t k)
- public int swap (Matrix m2)
- public int swap_columns (size_t i, size_t j)
- public int swap_rowcol (size_t i, size_t j)
- public int swap_rows (size_t i, size_t j)
- public int transpose ()
- public int transpose_memcpy (Matrix src)
Fields: