ArticleslgStudy

computer science

Computer for operations with functions

Computer for operations with functions is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Computer for operations with functions rather than just read about it. In short: Within computer engineering and computer science, a computer for operations with (mathematical) functions (unlike the usual computer) operates with functions at the hardware level (i.e. without programming these operations). History A computing machine for operations with functions was presented and developed by Mikhail Kartsev in 1967.

Key takeaways

  • Computer for operations with functions belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Computer for operations with functions to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Computer for operations with functions from memory before moving on to harder problems.

Reference excerpt

Within computer engineering and computer science, a computer for operations with (mathematical) functions (unlike the usual computer) operates with functions at the hardware level (i.e. without programming these operations).

History A computing machine for operations with functions was presented and developed by Mikhail Kartsev in 1967. Among the operations of this computing machine were the functions addition, subtraction and multiplication, functions comparison, the same operations between a function and a number, finding the function maximum, computing indefinite integral, computing definite integral of derivative of two functions, derivative of two functions, shift of a function along the X-axis etc. By its architecture this computing machine was (using the modern terminology) a vector processor or array processor, a central processing unit (CPU) that implements an instruction set containing instructions that operate on one-dimensional arrays of data called vectors. In it there has been used the fact that many of these operations may be interpreted as the known operation on vectors: addition and subtraction of functions - as addition and subtraction of vectors, computing a definite integral of two functions derivative— as computing the vector product of two vectors, function shift along the X-axis – as vector rotation about axes, etc. In 1966 Khmelnik had proposed a functions coding method, i.e. the functions representation by a "uniform" (for a function as a whole) positional code. And so the mentioned operations with functions are performed as unique computer operations with such codes on a "single" arithmetic unit.

Positional codes of one-variable functions Source:

The main idea The positional code of an integer number A is a numeral notation of digits α in a certain positional number system of the form

A=α0α1…αk…αn. Such code may be called "linear". Unlike it a positional code of one-variable x function F(x) has the form:

F(x)=( ⋯ α22⋯α2k⋯ α11α12⋯α1k⋯α00α01α02⋯α0k⋯) and so it is flat and "triangular", as the digits in it comprise a triangle. The value of the positional number A above is that of the sum

A=∑k=0nαkρk, where ρ is the radix of the said number system. The positional code of a one-variable function correspond to a 'double' code of the form

F(x)=∑k=0n∑m=0kαmkRkyk−m(1−y)m, where R is an integer positive number, quantity of values that taken α, and y is a certain function of argument x. Addition of positional codes of numbers is associated with the carry transfer to a higher digit according to the scheme

αk⟶αk+1. Addition of positional codes of one-variable functions is also associated with the carry transfer to higher digits according to the scheme:

( αk+1,m+1 ↗ αk,m⟶αk+1,m). Here the same transfer is carried simultaneously to two higher digits.

R-nary triangular code A triangular code is called R-nary (and is denoted as TKR), if the numbers αmk take their values from the set

DR={−r1,−r1+1,…,−1,0,1,…,r2−1,r2}, where r1,r2≥0 and R=r1+r2+1. For example, a triangular code is a ternary code TK3, if αmk∈(−1,0,1), and quaternary TK4, if αmk∈(−2,−1,0,1). For R-nary triangular codes the following equalities are valid:

( 0 ↗ aR⟶0)=( a ↗ 0⟶a),( a ↗ 0⟶0)=( 0 ↗ aR⟶−a),( 0 ↗ 0⟶a)=( −a ↗ aR⟶0), where a is an arbitrary number. There exists TKR of an arbitrary integer real number. In particular, TKR(α)=α. Also there exists TKR of any function of the form yk. For instance, TKR(y2)=(0 0 1).

Single-digit addition in R-nary triangular codes consists in the following:

in the given (mk)-digit there is determined the sum Smk of the digits that are being added αmk, βmk and two carries pm,k−1, pm−1,k−1, transferred into this digit from the left, i.e. Smk=αmk+βmk+pm,k−1+pm−1,k−1, this sum is presented in the form Smk=σmk+Rpmk, where σmk∈DR, σmk is written in the (mk)-digit of summary code, and the carry pmk from the given digit is carried into (m,k+1)-digit and (m+1,k+1)—digit. This procedure is described (as also for one-digit addition of the numbers) by a table of one-digit addition, where all the values of the terms αmk∈DR and βmk∈DR must be present and all the values of carries appearing at decomposition of the sum Smk=σmk+Rpmk. Such a table may be synthesized for R>2. Below we have written the table of one-digit addition for R=3:

One-digit subtraction in R-nary triangular codes differs from the one-digit addition only by the fact that in the given (mk)-digit the value Smk is determined by the formula

Smk=αmk−βmk+pm,k−1+pm−1,k−1.

One-digit division by the parameter R in R-nary triangular codes is based on using the correlation:

( a ↗ 0⟶0)=( 0 ↗ aR⟶−a), from this it follows that the division of each digit causes carries into two lowest digits. Hence, the digits result in this operation is a sum of the quotient from the division of this digit by R and two carries from two highest digits. Thus, when divided by parameter R

in the given (mk)-digit the following sum is determined Smk=αmk/R−pm+1,k/R+pm+1,k+1, this sum is presented as Smk=σmk+pmk/R, where σmk∈DR, σmk is written into (mk)—digit of the resulting code, and carry pmk from the given digit is transferred into the (m−1,k−1)-digit and (m−1,k)-digit. This procedure is described by the table of one-digit division by parameter R, where all the values of terms and all values of carries, appearing at the decomposition of the sum Smk=σmk+pmk/R, must be present. Such table may be synthesized for R>2. Below the table will be given for the one-digit division by the parameter R for R=3:

Addition and subtraction of R-nary triangular codes consists (as in positional codes of numbers) in subsequently performed one-digit operations. Mind that the one-digit operations in all digits of each column are performed simultaneously.

Multiplication of R-nary triangular codes. Multiplication of a code TKR' by (mk)-digit of another code TKR′' consists in (mk)-shift of the code TKR', i.e. its shift k columns left and m rows up. Multiplication of codes TKR' and TKR′' consists in subsequent (mk)-shifts of the code TKR' and addition of the shifted code TKR' with the part-product (as in the positional codes of numbers).

Derivation of R-nary triangular codes. The derivative of function F(x), defined above, is

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Computer for operations with functions

Start with the simplest possible case. Write down what Computer for operations with functions claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Computer for operations with functions before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Computer for operations with functions ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Computer for operations with functions

In research
Computer for operations with functions appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Computer for operations with functions in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Computer for operations with functions is common in secondary-school and first-year university syllabi. It links to neighbouring topics Central processing unit, Encodings, One-of-a-kind computers, so understanding it makes those chapters shorter.
In everyday life
Look for Computer for operations with functions outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Computer for operations with functions” →

How to study Computer for operations with functions in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Computer for operations with functions means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Computer for operations with functions out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Computer for operations with functions in simple terms?

Within computer engineering and computer science, a computer for operations with (mathematical) functions (unlike the usual computer) operates with functions at the hardware level (i.e. without programming these operations). History A computing machine for operations with functions was presented an…

Why does Computer for operations with functions matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Computer for operations with functions?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Computer for operations with functions.

Tags

  • Central processing unit
  • Encodings
  • One-of-a-kind computers
  • Soviet inventions

Keep exploring