DotNet Reference

.Net Reference

Detailed Description

A dense matrix of numbers encoded in a flat way, row by row.

That is matrix[i][j] = entries[i * num_cols + j];

Definition at line 7494 of file CpModel.pb.cs.

Public Member Functions

 DenseMatrixProto ()
 
 DenseMatrixProto (DenseMatrixProto other)
 
DenseMatrixProto Clone ()
 
override bool Equals (object other)
 
bool Equals (DenseMatrixProto other)
 
override int GetHashCode ()
 
override string ToString ()
 
void WriteTo (pb::CodedOutputStream output)
 
int CalculateSize ()
 
void MergeFrom (DenseMatrixProto other)
 
void MergeFrom (pb::CodedInputStream input)
 

Static Public Attributes

const int NumRowsFieldNumber = 1
 Field number for the "num_rows" field. More...
 
const int NumColsFieldNumber = 2
 Field number for the "num_cols" field. More...
 
const int EntriesFieldNumber = 3
 Field number for the "entries" field. More...
 

Properties

static pb::MessageParser< DenseMatrixProtoParser [get]
 
static pbr::MessageDescriptor Descriptor [get]
 
int NumRows [get, set]
 
int NumCols [get, set]
 
pbc::RepeatedField< int > Entries [get]
 

Constructor & Destructor Documentation

◆ DenseMatrixProto() [1/2]

DenseMatrixProto ( )
inline

Definition at line 7515 of file CpModel.pb.cs.

◆ DenseMatrixProto() [2/2]

Definition at line 7522 of file CpModel.pb.cs.

Member Function Documentation

◆ CalculateSize()

int CalculateSize ( )
inline

Definition at line 7641 of file CpModel.pb.cs.

◆ Clone()

DenseMatrixProto Clone ( )
inline

Definition at line 7530 of file CpModel.pb.cs.

◆ Equals() [1/2]

bool Equals ( DenseMatrixProto  other)
inline

Definition at line 7572 of file CpModel.pb.cs.

◆ Equals() [2/2]

override bool Equals ( object  other)
inline

Definition at line 7567 of file CpModel.pb.cs.

◆ GetHashCode()

override int GetHashCode ( )
inline

Definition at line 7586 of file CpModel.pb.cs.

◆ MergeFrom() [1/2]

void MergeFrom ( DenseMatrixProto  other)
inline

Definition at line 7657 of file CpModel.pb.cs.

◆ MergeFrom() [2/2]

void MergeFrom ( pb::CodedInputStream  input)
inline

Definition at line 7672 of file CpModel.pb.cs.

◆ ToString()

override string ToString ( )
inline

Definition at line 7598 of file CpModel.pb.cs.

◆ WriteTo()

void WriteTo ( pb::CodedOutputStream  output)
inline

Definition at line 7603 of file CpModel.pb.cs.

Member Data Documentation

◆ EntriesFieldNumber

const int EntriesFieldNumber = 3
static

Field number for the "entries" field.

Definition at line 7557 of file CpModel.pb.cs.

◆ NumColsFieldNumber

const int NumColsFieldNumber = 2
static

Field number for the "num_cols" field.

Definition at line 7546 of file CpModel.pb.cs.

◆ NumRowsFieldNumber

const int NumRowsFieldNumber = 1
static

Field number for the "num_rows" field.

Definition at line 7535 of file CpModel.pb.cs.

Property Documentation

◆ Descriptor

pbr.MessageDescriptor Descriptor
staticget

Definition at line 7505 of file CpModel.pb.cs.

◆ Entries

pbc.RepeatedField<int> Entries
get

Definition at line 7562 of file CpModel.pb.cs.

◆ NumCols

int NumCols
getset

Definition at line 7549 of file CpModel.pb.cs.

◆ NumRows

int NumRows
getset

Definition at line 7538 of file CpModel.pb.cs.

◆ Parser

pb.MessageParser<DenseMatrixProto> Parser
staticget

Definition at line 7502 of file CpModel.pb.cs.


The documentation for this class was generated from the following file: