File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 11# # Put comments here that give an overall description of what your
22# # functions do
3- # Functions modularize the operation flow of the program - providing
4- # an easy to understand and easy to edit program.
3+ # Both the functions when used together will store the inverse of a matrix and output it without recalculating it everytime.
4+ # the cache here is the local environment of the object created by the function makeCacheMatrix.. so changes in the matrix -( made by
5+ # using set function) and its inverse are stored in this local environment. The second function access the inverse from this
6+ # environment and then outputs it. This can be done for any large operation, not only inverses of matrices.
7+
58
69# # Write a short comment describing this function
710# Creates an object to store a matrix and its inverse in its local environment - hence can be used like a cache
You can’t perform that action at this time.
0 commit comments