Vector
Object Hierarchy:
Description:
[ Compact ]
[ CCode ( cname = "gsl_vector" ) ]
public class Vector
[ CCode ( cname = "gsl_vector" ) ]
public class Vector
Namespace: Gsl
Package: gsl
Content:
Static methods:
- public static int fprintf (FileStream stream, Vector v, string format)
Creation methods:
- public Vector (size_t n)
- public Vector.from_block (Block b, size_t offset, size_t n, size_t stride)
- public Vector.from_vector (Vector v, size_t offset, size_t n, size_t stride)
- public Vector.with_zeros (size_t n)
Methods:
- public double @get (size_t i)
- public void @set (size_t i, double x)
- public int add (Vector b)
- public int add_constant (double x)
- public int div (Vector 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 size_t max_index ()
- public int memcpy (Vector src)
- public double min ()
- public size_t min_index ()
- public void minmax (out double min_out, out double max_out)
- public void minmax_index (out size_t imin, out size_t imax)
- public int mul (Vector b)
- public double* ptr (size_t i)
- public int reverse ()
- public int scale (double x)
- public void set_all (double x)
- public void set_basis (size_t i)
- public void set_zero ()
- public int sub (Vector b)
- public VectorView subvector (size_t offset, size_t n)
- public VectorView subvector_with_stride (size_t offset, size_t stride, size_t n)
- public int swap (Vector w)
- public int swap_elements (size_t i, size_t j)