Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
create matrix 2 * 2 with value ranging from 1 to 4
Home
NumPy
create matrix 2 * 2 with value ranging from 1 to 4
+1
vote
asked
Jul 8, 2021
in
NumPy
by
rajeshsharma
create matrix 2 * 2 with value ranging from 1 to 4
numpy-matrix
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jul 8, 2021
by
rajeshsharma
create matrix 2 * 2 with value ranging from 1 to 4
arr = np.arange(1,5).reshape(2,2)
print(arr)
Related questions
+1
vote
Q: create matrix 2 * 2 with value ranging from 1 to 3
asked
Jul 8, 2021
in
NumPy
by
rajeshsharma
numpy-matrix
+1
vote
Q: create a matrix 3 * 3 with value ranging from 0 to 8
asked
Jul 8, 2021
in
NumPy
by
rajeshsharma
numpy-matrix
+1
vote
Q: What is 2d indexing? define one ex : num = np.array([1,2,3],[4,5,6],[7,8,9])
asked
Jul 4, 2021
in
NumPy
by
sharadyadav1986
2d-indexing
0
votes
Q: What is the determinant of the matrix A = \begin{pmatrix} 1 & 3 & 2 \\ 4 & 1 & 3 \\ 2 & 2 & 0 \end{pmatrix}⎝⎛142312230⎠⎞?
asked
Jan 23, 2020
in
Data Science
by
AdilsonLima
0
votes
Q: Consider the matrix A = \begin{pmatrix} 7 & 9 & -3 \\ 3 & -6 & 5 \\ 4 & 0 & 1 \end{pmatrix}⎝⎛7349−60−351⎠⎞. What is the value of minor M_{11}M11?
asked
Jan 23, 2020
in
Data Science
by
AdilsonLima
0
votes
Q: Which of the following are valid examples of business value measures? 1: Customer retention 2: Time to market 3: Service Architecture 4: Market share
asked
Feb 14, 2020
in
Agile
by
matthenary
0
votes
Q: For a system with the transfer function H(s) = 3(s-2)/s^3+4s^2-2s+1 , the matrix A in the state space form is equal to:
asked
Oct 3, 2021
in
Control System
by
john ganales
control-system
+1
vote
Q: You can upgrade to CDH 4.1.2 and higher from within the Cloudera Manager Admin Console using parcels.
asked
Feb 3, 2022
in
Cloudera Rudiments
by
sharadyadav1986
cdh
cloudera-manager-admin
+1
vote
Q: Choose the correct option from below list (1)Master distributes the work to slaves. (2)Both master and slave are worker nodes. (3)Hadoop works in master-slave concepts. (4)The actual worker node is slaves.
asked
Jan 13, 2020
in
Big Data | Hadoop
by
AdilsonLima
#bigdata
Bigdata-questions-answers
Hadoop-questions-answers
0
votes
Q: Which is the least verbose logging level in cassandra Choose the correct option from below list (1)debug (2)error (3)trace (4)fatal
asked
Jan 31, 2020
in
Other
by
MBarbieri
...