mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-14 04:35:57 +08:00
spellcheck
This commit is contained in:
parent
21cf4a1a8b
commit
8ef267ccbd
@ -117,7 +117,7 @@ template<> struct get_compile_time_incr<SingleRange> {
|
|||||||
enum { value = 1 }; // 1 or 0 ??
|
enum { value = 1 }; // 1 or 0 ??
|
||||||
};
|
};
|
||||||
|
|
||||||
// Turn a single index into something that looks like an array (i.e., that exposes a .size(), and operatro[](int) methods)
|
// Turn a single index into something that looks like an array (i.e., that exposes a .size(), and operator[](int) methods)
|
||||||
template<typename T, int XprSize>
|
template<typename T, int XprSize>
|
||||||
struct IndexedViewCompatibleType<T,XprSize,typename internal::enable_if<internal::is_integral<T>::value>::type> {
|
struct IndexedViewCompatibleType<T,XprSize,typename internal::enable_if<internal::is_integral<T>::value>::type> {
|
||||||
// Here we could simply use Array, but maybe it's less work for the compiler to use
|
// Here we could simply use Array, but maybe it's less work for the compiler to use
|
||||||
|
@ -35,7 +35,7 @@ namespace Eigen {
|
|||||||
* std::cout << expr98.eval(x=6) << "\n";
|
* std::cout << expr98.eval(x=6) << "\n";
|
||||||
* \endcode
|
* \endcode
|
||||||
*
|
*
|
||||||
* It is currently only used internally to define and minipulate the placeholders::last and placeholders::end symbols in Eigen::seq and Eigen::seqN.
|
* It is currently only used internally to define and manipulate the placeholders::last and placeholders::end symbols in Eigen::seq and Eigen::seqN.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
namespace Symbolic {
|
namespace Symbolic {
|
||||||
@ -187,7 +187,7 @@ public:
|
|||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
struct is_symbolic {
|
struct is_symbolic {
|
||||||
// BaseExpr has no conversion ctor, so we only have to check whether T can be staticaly cast to its base class BaseExpr<T>.
|
// BaseExpr has no conversion ctor, so we only have to check whether T can be statically cast to its base class BaseExpr<T>.
|
||||||
enum { value = internal::is_convertible<T,BaseExpr<T> >::value };
|
enum { value = internal::is_convertible<T,BaseExpr<T> >::value };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user