Patterns in static

Apophenia

apop_linear_algebra.c File Reference

Functions


Detailed Description

Assorted things to do with matrices, such as take determinants or do singular value decompositions. Includes many convenience functions that don't actually do math but add/delete columns, check bounds, et cetera.


Function Documentation

gsl_matrix* apop_matrix_rm_columns ( gsl_matrix *  in,
int *  drop 
)

Delete columns from a matrix.

This is done via copying, so if you have an exceptionally large data set, you're better off producing the matrix in the perfect form directly.

Parameters:
in the gsl_matrix to be subsetted
Returns:
a gsl_matrix with the specified columns removed. If you ask me to remove no columns, I'll return a copy of the original. If you ask me to remove all columns, I'll return NULL.
Parameters:
drop an array of ints. If use[7]==1, then column seven will be cut from the output.

SourceForge.net Logo

Autogenerated by doxygen on 23 Nov 2009.