Lines Matching refs:ref
46 // Provide a convenience alias for easier pass-by-ref usage with fully dynamic strides:
228 // Takes an lvalue ref to some Eigen type and a (python) base object, creating a numpy array that
277 auto ref = reinterpret_steal<array>(eigen_ref_array<props>(value));
278 if (dims == 1) ref = ref.squeeze();
279 else if (ref.ndim() == 1) buf = buf.squeeze();
281 int result = detail::npy_api::get().PyArray_CopyInto_(ref.ptr(), buf.ptr());
363 // Directly referencing a ref/map's data is a bit dangerous (whatever the map/ref points to has
366 // ref's data (The numpy array ends up read-only if the ref was to a const matrix type.) Note
380 // move, take_ownership don't make any sense for a ref/map:
417 std::unique_ptr<Type> ref;
465 ref.reset();
467 ref.reset(new Type(*map));
472 operator Type*() { return ref.get(); }
473 operator Type&() { return *ref; }