Parent Directory
|
Revision Log
|
Patch
revision 1909 by jfenwick, Wed Oct 22 06:11:01 2008 UTC | revision 1910 by jfenwick, Thu Oct 23 03:05:28 2008 UTC | |
---|---|---|
# | Line 2025 Data::powO(const boost::python::object& | Line 2025 Data::powO(const boost::python::object& |
2025 | Data | Data |
2026 | Data::powD(const Data& right) const | Data::powD(const Data& right) const |
2027 | { | { |
2028 | if (isLazy() || right.isLazy()) | |
2029 | { | |
2030 | DataLazy* c=new DataLazy(m_data,right.borrowDataPtr(),POW); | |
2031 | return Data(c); | |
2032 | } | |
2033 | return C_TensorBinaryOperation<double (*)(double, double)>(*this, right, ::pow); | return C_TensorBinaryOperation<double (*)(double, double)>(*this, right, ::pow); |
2034 | } | } |
2035 |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |