Ignore:
Timestamp:
Sep 6, 2008, 8:55:46 PM (13 years ago)
Author:
Peter
Message:

reverting [1474] as original docs were correct. Clarified that SVD only works when rows>=columns for all algorithms and added an assert checking this.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/utility/SVD.cc

    r1437 r1478  
    3131#include "VectorBase.h"
    3232
     33#include <cassert>
    3334#include <sstream>
    3435
     
    5152  void SVD::decompose(SVDalgorithm algo)
    5253  {
     54    assert(U_.rows()>=U_.columns());
    5355    int status=0;
    5456    switch (algo) {
Note: See TracChangeset for help on using the changeset viewer.