Ignore:
Timestamp:
Mar 15, 2007, 9:07:01 PM (15 years ago)
Author:
Peter
Message:

previous argument was invalid, but here is an implementation. Fixes #205

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/utility/matrix.h

    r792 r808  
    99  Copyright (C) 2005 Jari Häkkinen, Peter Johansson, Markus Ringnér
    1010  Copyright (C) 2006 Jari Häkkinen, Peter Johansson
    11   Copyright (C) 2007 Jari Häkkinen
     11  Copyright (C) 2007 Jari Häkkinen, Peter Johansson
    1212
    1313  This file is part of the yat library, http://lev.thep.lu.se/trac/yat
     
    146146
    147147       This function will make a deep copy of \a other. Memory is
    148        resized and view state is changed if needed.
     148       resized and view state is changed to same as in other.
    149149    */
    150150    const matrix& clone(const matrix& other);
     
    201201    */
    202202    void mul(const matrix& b);
     203
     204    ///
     205    /// @breif resize matrix
     206    ///
     207    /// All elements are set to @a init_value.
     208    ///
     209    void resize(size_t, size_t, double init_value=0);
    203210
    204211    ///
Note: See TracChangeset for help on using the changeset viewer.