MCPcopy Index your code
hub / github.com/PyO3/rust-numpy / array

Method array

tests/array.rs:416–420  ·  view source on GitHub ↗
(this: Bound<'_, Self>)

Source from the content-addressed store, hash-verified

414impl Owner {
415 #[getter]
416 fn array(this: Bound<'_, Self>) -> Bound<'_, PyArray1<f64>> {
417 let array = &this.borrow().array;
418
419 unsafe { PyArray1::borrow_from_array(array, this.into_any()) }
420 }
421}
422
423#[test]

Callers 7

test_headFunction · 0.80
test_axpyFunction · 0.80
test_multFunction · 0.80
test_conjFunction · 0.80
test_polymorphic_addFunction · 0.80
test_invFunction · 0.80

Calls

no outgoing calls

Tested by 7

test_headFunction · 0.64
test_axpyFunction · 0.64
test_multFunction · 0.64
test_conjFunction · 0.64
test_polymorphic_addFunction · 0.64
test_invFunction · 0.64