Click or drag to resize

RegressionBaseFirstColumnIsAllOnes(DoubleMatrix) Method

Convienence method for determining if the first column of a matrix is all ones.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static bool FirstColumnIsAllOnes(
	DoubleMatrix A
)

Parameters

A  DoubleMatrix
A matrix.

Return Value

Boolean
True if the first column of the given matrix contains all ones; otherwise, false.
Remarks
If the matrix in question is being used in a regression, this corresponds to whether or not the model has an intercept parameter.
See Also