Comments (1)
Or it might be, that you shouldn't zip the return in infer function:
def infer_matrix(n, transformation):
def standard_basis_vector(i):
return tuple(1 if i==j else 0 for j in range(1,n+1))
standard_basis = [standard_basis_vector(i) for i in range(1,n+1)]
cols = [transformation(v) for v in standard_basis]
return tuple(cols)
# return tuple(zip(*cols))
Then it will return same tuples, when comparing with manual rotation.
Can you please tell how is it correctly. Should we negate sign in 3D rotation or not. Thank you.
from math-for-programmers.
Related Issues (20)
- Reference to a missing file in Appendix C
- Missing return in Curried instantaneous flow rate function
- 16.4.3 Exercises: error raised with MLPClassifier predict method
- Chapter 3: Exception using Arrow3D HOT 8
- Exercise 2.19 coordinates are incorrect.
- No need to unpack in add function
- Exercise 3.11 No correspondence
- oduleNotFoundError: No module named 'vector_drawing'
- Exercises already filled out
- TypeError: Unrecognized object: <draw3d.Points3D object at 0x7f83cdf68a00>
- Add a requirements.txt HOT 1
- Section 9.3.1 Table Values for Eulars method
- Exercise 3.3
- scalar_field_heatmap(ch11walkthrough)
- Type conversion is required (Chapter13Walkthrough)
- "images" folder is necessary before executing the Jupyter notebook.
- what is "vector_drawing"? HOT 5
- ModuleNotFoundError: No module named 'matplotlib' HOT 2
- Chapter 13 sound not playing. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from math-for-programmers.