numpy tag

NumPy (pronounced /ˈnʌmpaɪ/ (NUM-py) or sometimes /ˈnʌmpi/ (NUM-pee)) is a library for the Python programming language, adding support for large, multi-dimensional arrays and matrices, along with a large collection of high-level mathematical functions to operate on these arrays. The ancestor of NumPy, Numeric, was originally created by Jim Hugunin with contributions from several other developers. In 2005, Travis Oliphant created NumPy by incorporating features of the competing Numarray into Numeric, with extensive modifications. NumPy is open-source software and has many contributors. NumPy is a NumFOCUS fiscally sponsored project.

Reference: WIKIPEDIA

137 questions


2 answers
60 views
0
To convert three three-dimensional points into two-dimensional axes:

How do I perform coordinate transformation such that there are three 3D vectors A, B, and C, where AB is applied to the x-axis of the 2D space and AC is applied to the y-axis of the 2D space?As an ama...

2 years ago

1 answers
164 views
0
multiply multiple matrices simultaneously

Python I would like to multiply multiple matrices simultaneously with numpy or pytorch without using a for loop.For example, suppose you have five different matrices of 10x100 and one matrix of 100x10...

2 years ago

1 answers
72 views
0
I'm in trouble because I can't do anything about the error.TypeError: loop of ufunc does not support argument 0 of type Float which has no callable exp method

Error Message ------------------------------------------------------------------------------------------------AttributeError Traceback (most recent call last)AttributeError: 'Float' object has no attr...

2 years ago

1 answers
123 views
0
I want to use Pickle in Google Colab

As the title suggests, I would like to install and use Pickle on Google Colab.Notable to pip install pickle in python 3.6-StackOverflow Based on the above page, I ran the following command, but the pi...


2 answers
76 views
0
Extracting columns of multidimensional arrays without using numpy

The code fits in about one line without using numpy and is fastI would like to extract columns.It's also https://x1.inkenkun.com/archives/861I've looked into this article and many other things, but Ba...

2 years ago

1 answers
66 views
0
I want to get values from the number.array array.array array.

I would like to search for the value I want to get from the array using numpy.array and display it in print.But index=np.where (data[powering]==2.35) IndexError: arrays used as indications must be of ...

2 years ago

2 answers
51 views
0
DOT PRODUCT IN DEPTH DIRECTION FOR THREE-DIMENSIONAL ARRAY WITHOUT FOR SENTENCE

I recently started using python for numerical calculations.For example, import numpy as npA = np.zeros (500, 4, 4) B=np.identity(4)Suppose you have a three-dimensional array A and a matrix B.Suppose A...

2 years ago

1 answers
100 views
0
Convert the mov file to a numpy array

I would like to read the quick time movie format video file and convert it to a 3D numpy array.[Frame, X, Y] is the image.You can save up to the serial number jpg below (all you have to do is read thi...

2 years ago

2 answers
66 views
0
I want to connect different shapes of ndarrays with new axes added.

How do I connect different shapes of ndarrays with new axes added?For example, a two-dimensional array of two different shapes (columns equal)a=array([1,1,1,1], [1,1,1,1], [1,1,1,1]])b = array([2,...

2 years ago

1 answers
61 views
0
Understanding the Rewrite of Elements in a List Using the for and if statements

I'm a beginner, so I'm sorry if I don't know how to ask questions.I'm trying to create a matrix in Python 3 and write a code that replaces the elements in the matrix with input results.It was possible...

2 years ago
« - 5 - »

© 2024 OneMinuteCode. All rights reserved.