| RegressionBaseFirstColumnIsAllOnes(DoubleMatrix) Method |
Convienence method for determining if the first column of a matrix
is all ones.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static bool FirstColumnIsAllOnes(
DoubleMatrix A
)
Public Shared Function FirstColumnIsAllOnes (
A As DoubleMatrix
) As Boolean
public:
static bool FirstColumnIsAllOnes(
DoubleMatrix^ A
)
static member FirstColumnIsAllOnes :
A : DoubleMatrix -> bool
Parameters
- A DoubleMatrix
- A matrix.
Return Value
BooleanTrue 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