About: Null function

An Entity of Type: Abstraction100002137, from Named Graph: http://dbpedia.org, within Data Space: dbpedia.org

In computer science, a null function (or null operator) is a subroutine that leaves the program state unchanged. When it is part of the instruction set of a processor, it is called a NOP or NOOP (No OPeration). Mathematically, a (computer) function is null if and only if its execution leaves the program state unchanged. That is, a null function is an identity function whose domain and codomain are both the state space of the program, and for which: for all elements .

Property Value
dbo:abstract
  • In computer science, a null function (or null operator) is a subroutine that leaves the program state unchanged. When it is part of the instruction set of a processor, it is called a NOP or NOOP (No OPeration). Mathematically, a (computer) function is null if and only if its execution leaves the program state unchanged. That is, a null function is an identity function whose domain and codomain are both the state space of the program, and for which: for all elements . Less rigorous definitions may also be encountered. For example, a function may take a single operand, transform it into a new data type, and return the result. While such usages bear a strong visual resemblance to identity functions, they create or alter a binary data value and thus change the program state. From a software maintainability perspective it is better to identify such "minor" alternations of state explicitly, since calling them null functions provides future maintainers of the code with no insights on their actual purposes. (en)
  • Em ciência da computação, uma função nula, nulo (ou operador nulo) é uma sub-rotina que não retorna qualquer valor de dados e deixa o estado do programa inalterado. Quando faz parte do conjunto de instruções de um processador, ela é chamada de NOP ou NOOP (Nenhuma OPeração). Matematicamente, um função de computação f é nula se, e somente se, sua execução deixa o estado do programa inalterado. Isto é, uma função nula é uma cujo domínio e contradomínio são tanto o S do programa, e para os quais: f(s) = s para todos os elementos s em S. Definições menos rigorosas também podem ser encontradas. Por exemplo, uma função pode ter um único operador, transformá-lo em um novo tipo de dados, e retornar o resultado. Enquanto tais usos tem uma forte semelhança visual com a função identidade, eles criam ou alteram um valor de dados binários e, portanto, a mudança do estado do programa. De uma perspectiva da manutenção de software é melhor para identificar essas alternâncias de estado "menores" explicitamente, uma vez que chamando-as de funções nulas fornece-se futuros mantenedores do código sem dicernimento sobre seus efeitos reais. (pt)
dbo:wikiPageID
  • 9021355 (xsd:integer)
dbo:wikiPageLength
  • 3248 (xsd:nonNegativeInteger)
dbo:wikiPageRevisionID
  • 1076988615 (xsd:integer)
dbo:wikiPageWikiLink
dbp:wikiPageUsesTemplate
dcterms:subject
gold:hypernym
rdf:type
rdfs:comment
  • In computer science, a null function (or null operator) is a subroutine that leaves the program state unchanged. When it is part of the instruction set of a processor, it is called a NOP or NOOP (No OPeration). Mathematically, a (computer) function is null if and only if its execution leaves the program state unchanged. That is, a null function is an identity function whose domain and codomain are both the state space of the program, and for which: for all elements . (en)
  • Em ciência da computação, uma função nula, nulo (ou operador nulo) é uma sub-rotina que não retorna qualquer valor de dados e deixa o estado do programa inalterado. Quando faz parte do conjunto de instruções de um processador, ela é chamada de NOP ou NOOP (Nenhuma OPeração). Matematicamente, um função de computação f é nula se, e somente se, sua execução deixa o estado do programa inalterado. Isto é, uma função nula é uma cujo domínio e contradomínio são tanto o S do programa, e para os quais: f(s) = s para todos os elementos s em S. (pt)
rdfs:label
  • Null function (en)
  • Função nula (ciência da computação) (pt)
owl:differentFrom
owl:sameAs
prov:wasDerivedFrom
foaf:isPrimaryTopicOf
is dbo:wikiPageRedirects of
is dbo:wikiPageWikiLink of
is owl:differentFrom of
is foaf:primaryTopic of
Powered by OpenLink Virtuoso    This material is Open Knowledge     W3C Semantic Web Technology     This material is Open Knowledge    Valid XHTML + RDFa
This content was extracted from Wikipedia and is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License