/** @(#) matrixdouble/matrixdouble.cpp */ #include "matrixdouble.h" // constructor, ~, friend----------------------------------------------------- /* Constructor predeterminado. */ /** * Construye una matriz. * @param theLogic 0: Logica 0. !=0: Logica 1. * @param theRows Si theRows < 1, se le asigna 1. * @param theColumns Si theColumns < 1, se le asigna 1. */ MatrixDouble :: MatrixDouble(int theRows, int theColumns, int theLogic) { logic = (theLogic ? 1 : 0); rows = ((theRows < 1) ? 1 : theRows); columns = ((theColumns < 1) ? 1 : theColumns); } /* Destructor predeterminado. */ /** Libera recursos. */ // operator------------------------------------------------------------------- // public--------------------------------------------------------------------- // private-------------------------------------------------------------------- // Fin------------------------------------------------------------------------