Lines Matching refs:Result

154     ) -> crate::Result<Self> {  in from_vector_and_slice_mut()
225 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() argument
245 pub fn create(ceed: &crate::Ceed, n: usize) -> crate::Result<Self> { in create()
255 pub(crate) unsafe fn from_raw(ptr: bind_ceed::CeedVector) -> crate::Result<Self> { in from_raw()
262 fn ptr_copy_mut(&mut self) -> crate::Result<bind_ceed::CeedVector> { in ptr_copy_mut()
289 pub fn copy_from(&mut self, vec_source: &Vector) -> crate::Result<i32> { in copy_from()
308 pub fn from_slice(ceed: &crate::Ceed, v: &[crate::Scalar]) -> crate::Result<Self> { in from_slice()
331 pub fn from_array(ceed: &crate::Ceed, v: &mut [crate::Scalar]) -> crate::Result<Self> { in from_array()
350 fn check_error(&self, ierr: i32) -> crate::Result<i32> { in check_error()
427 pub fn set_value(&mut self, value: crate::Scalar) -> crate::Result<i32> { in set_value()
450 pub fn set_slice(&mut self, slice: &[crate::Scalar]) -> crate::Result<i32> { in set_slice()
514 ) -> crate::Result<VectorSliceWrapper<'b>> { in wrap_slice_mut()
541 pub fn sync(&self, mtype: crate::MemType) -> crate::Result<i32> { in sync()
564 pub fn view(&self) -> crate::Result<VectorView> { in view()
586 pub fn view_mut(&mut self) -> crate::Result<VectorViewMut> { in view_mut()
613 pub fn norm(&self, ntype: crate::NormType) -> crate::Result<crate::Scalar> { in norm()
641 pub fn scale(mut self, alpha: crate::Scalar) -> crate::Result<Self> { in scale()
668 pub fn axpy(mut self, alpha: crate::Scalar, x: &Vector) -> crate::Result<Self> { in axpy()
701 ) -> crate::Result<Self> { in axpby()
729 pub fn pointwise_mult(mut self, x: &Vector, y: &Vector) -> crate::Result<Self> { in pointwise_mult()
755 pub fn pointwise_scale(mut self, x: &Vector) -> crate::Result<Self> { in pointwise_scale()
776 pub fn pointwise_square(mut self) -> crate::Result<Self> { in pointwise_square()
798 fn new(vec: &'a Vector) -> crate::Result<Self> { in new()
830 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() argument
847 fn new(vec: &'a mut Vector) -> crate::Result<Self> { in new()
886 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() argument